package org.springblade.applicationapi.feign;

import org.springblade.applicationapi.entity.App;
import org.springblade.core.tool.api.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * description: IApplicationClient <br>
 * date: 2022/4/7 17:39 <br>
 * author: yzpang <br>
 * version: 1.0 <br>
 */
@FeignClient(
	value = "blade-application"
)
public interface IApplicationClient {
	String API_PREFIX = "/client";
	String APP_LIST = API_PREFIX + "/app/list";

	@PostMapping(APP_LIST)
	R<List<App>> appList();
}
